<?php
namespace app\index\behavior;

class Test
{
    public function run($params)
    {
        $html=var_export($params,true).'_'.time()."\n\r";
        error_log($html,3,'hook_log.txt');
    }
}